// @ts-ignore
/* eslint-disable */
import request from '@/utils/request'

/** 此处后端没有提供注释 GET /user/${param0} */
export async function getProductsBySellerId(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: MallService.getProductsBySellerIdParams,
  options?: { [key: string]: any }
) {
  const { userId: param0, ...queryParams } = params
  return request<MallService.ResultSysUser>(`/mall/user/${param0}`, {
    method: 'GET',
    params: { ...queryParams },
    ...(options || {}),
  })
}
